﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for User
/// </summary>

    [Serializable]
    public class Employee
    {
        private Guid _id;
        private string _code = String.Empty;
        private string _firstName = String.Empty;
        private string _lastName = String.Empty;
        private DateTime _birthday;
        private string _email = String.Empty;
        private string _iDCard = String.Empty;
        private string _address = String.Empty;
        private string _handPhone = String.Empty;
        private bool _gender;
        private string _position = String.Empty;
        private string _userName = String.Empty;
        private string _password = String.Empty;
        private DateTime _lastLogin;
        private bool _active;
        private string _permissionID = String.Empty;
        private DateTime _lastUpdate;
        private Guid _lastUser = Guid.Empty;
        private Permission permission;
        private List<Shift> _shift;
        private string _searchGender;

       

       

       


        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }

        public string FirstName
        {
            get { return _firstName; }
            set { _firstName = value; }
        }

        public string LastName
        {
            get { return _lastName; }
            set { _lastName = value; }
        }

        public DateTime Birthday
        {
            get { return _birthday; }
            set { _birthday = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string IDCard
        {
            get { return _iDCard; }
            set { _iDCard = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string HandPhone
        {
            get { return _handPhone; }
            set { _handPhone = value; }
        }

        public bool Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        public string Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public DateTime LastLogin
        {
            get { return _lastLogin; }
            set { _lastLogin = value; }
        }

        public bool Active
        {
            get { return _active; }
            set { _active = value; }
        }

        public string PermissionID
        {
            get { return _permissionID; }
            set { _permissionID = value; }
        }

        public DateTime LastUpdate
        {
            get { return _lastUpdate; }
            set { _lastUpdate = value; }
        }

        public Guid LastUser
        {
            get { return _lastUser; }
            set { _lastUser = value; }
        }
        public Permission Permission
        {
            get { return permission; }
            set { permission = value; }
        }



        public List<Shift> Shift
        {
            get { return _shift; }
            set { _shift = value; }
        }

        public string SearchGender
        {
            get { return _searchGender; }
            set { _searchGender = value; }
        }
        #endregion

        public Employee()
        {
        }


    }
